package com.example.javabasic.shejimoshi.celve.demo2;
//具体策略B
public class ConcreteStrategyB implements Strategy {
    public ConcreteStrategyB(){
        StrategyFactory.set("b",this);
    }
    @Override
    public void strategyMethod() {
        System.out.println("具体策略B方法");
    }
}
